<template>
  <div class="about">
    <h1>This is an about page</h1>
    <h2>electronData: {{ electronData.app }}</h2>
  </div>
</template>

<script>
import {inject} from "vue"
export default{
  data(){
    return {
      electronData:''
    }
  },
  mounted(){
    const yamlConfig = inject('yamlConfig')

    console.log(yamlConfig,'yamlConfig');
    this.electronData = yamlConfig
    console.log('ipcRenderer',yamlConfig);
  }
}

</script>

<style>
@media (min-width: 1024px) {
  .about {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
}
</style>
